import {request} from '@/utils/request'
export function getRpcInterfaceList(params) {
    return request({
        url: '/api/fizz-manager/rpc-service-method/list',
        method: 'get',
        params
    })
}
export function saveRpc(data) {
    return request({
        url: '/api/fizz-manager/rpc-service/save',
        method: 'post',
        data
    })
}
export function saveService(data) {
    return request({
        url: '/api/fizz-manager/rpc-service-method/save',
        method: 'post',
        data
    })
}
export function getRpcServiceList(params) {
    return request({
        url: '/api/fizz-manager/rpc-service/list',
        method: 'get',
        params
    })
}
export function download(ids) {
    return request({
        url: '/api/fizz-manager/rpc-service-method/export?ids='+ids,
        method: 'post',
    })
}
export function remove(ids) {
    return request({
        url: '/api/fizz-manager/rpc-service-method/remove?ids='+ids,
        method: 'post',
    })
}